package com.seed.core.configuration;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.Map;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class LayoutConfiguration {
    private String type;
    private String component;
    private Map<String, Object> componentProps;
    private String[] cls;
    private Map<String, Object> style;
    private String content;
    private LayoutConfiguration[] children;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getComponent() {
        return component;
    }

    public void setComponent(String component) {
        this.component = component;
    }

    public Map<String, Object> getComponentProps() {
        return componentProps;
    }

    public void setComponentProps(Map<String, Object> componentProps) {
        this.componentProps = componentProps;
    }

    public String[] getCls() {
        return cls;
    }

    public void setCls(String[] cls) {
        this.cls = cls;
    }

    public Map<String, Object> getStyle() {
        return style;
    }

    public void setStyle(Map<String, Object> style) {
        this.style = style;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public LayoutConfiguration[] getChildren() {
        return children;
    }

    public void setChildren(LayoutConfiguration[] children) {
        this.children = children;
    }
}
